<?php
return array(
	//'配置项'=>'配置值'
    'URL_ROUTER_ON' => true,
    'URL_ROUTE_RULES' => array(
        array('auth','Home/Login/auth','',array('method'=>'post')),
        array('auth','Home/Login/check','',array('method'=>'get')),
        array('logout','Home/Login/logout','',array('method'=>'get')),

        array('students','Home/Student/all','',array('method'=>'get')),
        array('student$','Home/Student/add','',array('method'=>'post')),
        array('student','Home/Student/edit','',array('method'=>'put')),
        array('student/:id','Home/Student/get','',array('method'=>'get')),
        array('student/:id','Home/Student/del','',array('method'=>'delete')),

        array('admins','Home/Admin/all','',array('method'=>'get')),
        array('admin$','Home/Admin/add','',array('method'=>'post')),
        array('admin','Home/Admin/edit','',array('method'=>'put')),
        array('admin/:id','Home/Admin/get','',array('method'=>'get')),
        array('admin/:id','Home/Admin/del','',array('method'=>'delete')),

    )
);